package compiler.scanner;

import compiler.CompileException;

public class LexicalException extends CompileException {
	private static final long serialVersionUID = 1L;
	
	public LexicalException(int line, int position, String cause) {
		super(line, position, cause);
	}
	
	public String getMessage() {
		return "["+line+":"+position+"]"+"Lexical Error: "+cause;
	}
}
